import java.io.*;
public class Post implements Serializable {
	private static final long serialVersionUID = 6469306848126452125L;
	private String branch;
	private long postID;
	private String title;
    private String content;
	public Post(String a, String b, String c) {
		this.branch = a;
		this.title = c;
		this.postID = Long.parseLong(b);
	}

	public String toString() { //Do not return content
		String tobereturned = "Branch:" + branch + " ID:"
				+ new Long(postID).toString() + " Title:" + title;
		return tobereturned;
	}

	public String getbranch() {
		return branch;
	}

	public String getID() {
		return new Long(this.postID).toString();
	}

	public String gettitle() {
		return title;
	}
	public void setcontent(String a){
		this.content=a;
	}
	public String getcontent(){
		return this.content;
	}
}
